package com.ziroom.finance.rabbitmq.common.enums;

/**
 * Date: 2016/11/1
 * Time: 15:25
 *
 * @author qiuy19@ziroom.com
 */
public enum ResultCode {
    SUCESS(0),
    BLOCKED_IP(101),
    NO_DATA(107),
    COMMON_ERROR(100000),
    MONEY_NOT_ENOUGH(100001),
    ALREADY_3_IN_PROCESS(100002),
    PRE_APPLY_NOT_PASS(100003),
    PRE_APPLY_UNKNOWN_ERROR(100005),
    APPLY_USER_NOT_FOUND(100006),
    LOAN_CONTRACT_NOT_FOUND(101006),
    UPLOAD_PAY_PLAN_UNKNOWN_ERROR(101010),
    PAY_PLAN_NOT_EXIST(101011),
    PAY_PLAN_ALREADY_EXIST(101012),
    NULL(100020);


    public final int code;
    ResultCode(int code){
        this.code = code;
    }
}
